Platform Explorer / Nuxeo Platform 2023.11

Contribution studio.extensions.nuxeo-routing-default--filters

This contribution is part of XML component studio.extensions.nuxeo-routing-default inside nuxeo-routing-default-2023.11.13.jar /OSGI-INF/extensions.xml

Extension Point

Extension point filters of component ActionService.

Registration Order

31
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <filter id="filter@wf@ParallelDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
            <condition>#{!currentDocument.locked and currentDocument.currentLifeCycleState != 'approved' and !currentDocument.trashed}</condition>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>
  • <filter id="filter@SerialDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
            <condition>#{currentDocument.currentLifeCycleState != 'approved' and !currentDocument.trashed}</condition>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
    <filter id="filter@wf@ParallelDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
        <condition>#{!currentDocument.locked and currentDocument.currentLifeCycleState != 'approved' and !currentDocument.trashed}</condition>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
    <filter id="filter@SerialDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
        <condition>#{currentDocument.currentLifeCycleState != 'approved' and !currentDocument.trashed}</condition>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
  </extension>